from __future__ import with_statement


class KinetaError(Exception):
    """
    The error type raised when a problem occurs in Kineta.  Call str() to
    retrieve the error message.
    """

    def __init__(self, value):
        self._value = value

    def __str__(self):
        return str(self._value)
